Skip to content

Instantly share code, notes, and snippets.

@emtee40
emtee40 / Fdroid Repository List.md
Created May 19, 2023 19:59
List of F-Droid Repositories

State: Dec. 2021


----------------------------- Main repos -----------------------------

F-Droid Main

Description: Official F-Droid repository, serving apps build directly from its source code & signed by F-Droid.

@frozenpandaman
frozenpandaman / widevine-decryption.md
Last active September 17, 2026 07:39
download videos protected with widevine DRM

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@angularsen
angularsen / MarginSetter.cs
Created January 17, 2015 12:19
WPF - Automatic horizontal or vertical spacing in StackPanel and other list like panels
using System.Windows;
using System.Windows.Controls;
using JetBrains.Annotations;
namespace Foo
{
public class MarginSetter
{
private static Thickness GetLastItemMargin(Panel obj)
{
@swarupdonepudi
swarupdonepudi / tomcat_install_steps.md
Last active September 17, 2026 07:33
Installation instructions for tomcat on CentOS 7
  1. Install Java on the VM by running the command

    yum -y install java-1.8.0-openjdk.x86_64
  2. Check the version of Java installed

    java –version
  3. Create a dedicated user for Apache Tomcat. For security purposes, you need to create a dedicated non-root user "tomcat" who belongs to the "tomcat" group:

@dariusk
dariusk / README.md
Last active September 17, 2026 07:31
This Twine macro lets you make the screen shake! Tested in Chrome and Firefox. Should work in Opera and IE 10+. Uses CSS3 animations. #TwineHacks

This Twine macro lets you make the screen shake! Tested in Chrome and Firefox. Should work in Opera and IE 10+. Uses CSS3 animations, taken from this CSS Reset tutorial.

See a demo in action here.

How to set it up

IMPORTANT NOTE: Due to a bug in Twine 1.3.5, macros do not work on the Start passage. If you want to use this code (or any other macro) on your starting passage, you should put your start passage in a new passage called "ActualStart" and then put the following code in the Start passage:

<<display ActualStart>>
@sankalpsharmaa
sankalpsharmaa / india-railway-stations.md
Last active September 17, 2026 07:21
Indian Railways Data

Geo-referenced Indian Railways Data

This gist contains the point coordinates for every single railway station in India as well as the entire Indian railway network.

Point and line coordinates are provided in .geojson format.

Sample

Stations:

{ "type": "Feature", "properties": { "FID": 1, "state": "Rajasthan", "code": "BDHL", "name": "Badhal", "zone": "NWR", "address": "Kishangarh Renwal, Rajasthan", "lat": 27.2520587, "long": 75.4516454 }, "bbox": [ 75.45164540001525210755062289536, 27.252058699749227344000246375799, 75.45164540001525210755062289536, 27.252058699749227344000246375799 ], "geometry": { "type": "Point", "coordinates": [ 75.45164540001525210755062289536, 27.252058699749227344000246375799 ] } },
@k16shikano
k16shikano / SKILL.md
Last active September 17, 2026 07:18
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。